package com.h3c.nem.entity;

import java.util.Date;
import javax.persistence.*;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: TbWorkExperience
 *
 * @Author: l22886
 * @Date: 2022-01-19
 * Description: tb_work_experience 实体
 * Version: 1.0
 */
@ApiModel(value="TbWorkExperience对象", description="")
@Table(name = "tb_work_experience")
public class TbWorkExperience {


    @ApiModelProperty(value = "记录ID")
    @Column(name = "record_id")
    private String recordId;

    @ApiModelProperty(value = "公司名称")
    @Column(name = "company_name")
    private String companyName;

    @ApiModelProperty(value = "部门名称")
    @Column(name = "dept_name")
    private String deptName;

    @ApiModelProperty(value = "开始日期")
    @Column(name = "begin_date")
    private Date beginDate;

    @ApiModelProperty(value = "结束日期")
    @Column(name = "end_date")
    private Date endDate;

    @ApiModelProperty(value = "岗位名称")
    @Column(name = "post_name")
    private String postName;

    @ApiModelProperty(value = "工作城市")
    @Column(name = "work_city")
    private String workCity;

    @ApiModelProperty(value = "离职原因")
    @Column(name = "leave_reason")
    private String leaveReason;

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Date getBeginDate() {
        return beginDate;
    }
    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getWorkCity() {
        return workCity;
    }

    public void setWorkCity(String workCity) {
        this.workCity = workCity;
    }

    public String getLeaveReason() {
        return leaveReason;
    }

    public void setLeaveReason(String leaveReason) {
        this.leaveReason = leaveReason;
    }

    @Override
    public String toString() {
        return "TbWorkExperience{" +
                "recordId=" + recordId +
                ", companyName=" + companyName +
                ", deptName=" + deptName +
                ", beginDate=" + beginDate +
                ", endDate=" + endDate +
                ", postName=" + postName +
                ", workCity=" + workCity +
                ", leaveReason=" + leaveReason +
                "}";
    }
}
